import { View } from "../../../mvc/core/View";
//class TabMainView
    
    export  class TabMainView extends View
    {
        constructor()
        {
            super();
            return;
        }

        public setMainPanel(arg1: View): void
        {
            this._mainView = arg1;
            if (this._backupView && this.contains(this._backupView)) 
            {
                this.removeChild(this._backupView);
            }
            this.addChild(this._mainView);
            this._backupView = this._mainView;
            return;
        }

        /* internal */ /* var */_mainView: View;

        /* internal */ /* var */_backupView: View;
    }
